package com.healthcloud.entity;

import java.math.BigDecimal;

import org.joda.time.DateTime;

import com.healthcloud.query.CriteriaCondition;
import com.healthcloud.query.RelationalOp;
import com.healthcloud.search.Criteria;

/**
 * 用于查询体检查询
 * @author ZhengL
 * 2015/07/02
 */
public class PhysicalExamCriteria implements Criteria{

	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private BigDecimal id;
	@CriteriaCondition(relationalOp = RelationalOp.LIKE)
	private String idCard;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String doctorId;
	@CriteriaCondition(relationalOp = RelationalOp.NOT_LT, name = "examDate")
	private DateTime examDateFrom;
	@CriteriaCondition(relationalOp = RelationalOp.NOT_GT, name = "examDate")
	private DateTime examDateTo;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private Integer isFast;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private Integer isNormal;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String mkExamCode;
	@CriteriaCondition(relationalOp = RelationalOp.EQ)
	private String hisExamCode;
	
	public BigDecimal getId() {
		return id;
	}
	public String getIdCard() {
		return idCard;
	}
	public void setIdCard(String idCard) {
		this.idCard = idCard;
	}
	public String getDoctorId() {
		return doctorId;
	}
	public void setDoctorId(String doctorId) {
		this.doctorId = doctorId;
	}
	public void setId(BigDecimal id) {
		this.id = id;
	}
	public DateTime getExamDateFrom() {
		return examDateFrom;
	}
	public void setExamDateFrom(DateTime examDateFrom) {
		this.examDateFrom = examDateFrom;
	}
	public DateTime getExamDateTo() {
		return examDateTo;
	}
	public void setExamDateTo(DateTime examDateTo) {
		this.examDateTo = examDateTo;
	}
	public Integer getIsFast() {
		return isFast;
	}
	public void setIsFast(Integer isFast) {
		this.isFast = isFast;
	}
	public Integer getIsNormal() {
		return isNormal;
	}
	public void setIsNormal(Integer isNormal) {
		this.isNormal = isNormal;
	}
	public String getMkExamCode() {
		return mkExamCode;
	}
	public void setMkExamCode(String mkExamCode) {
		this.mkExamCode = mkExamCode;
	}
	public String getHisExamCode() {
		return hisExamCode;
	}
	public void setHisExamCode(String hisExamCode) {
		this.hisExamCode = hisExamCode;
	}
}
